import { Module } from '@nestjs/common';
import { CommonResolver } from './common.resolver';
import { PrismaModule } from '@app/prisma';
import { HashModule } from '@app/hash';
import { CollegeModule } from './college/college.module';
import { DepartmentModule } from './department/department.module';
import { ClassesModule } from './classes/classes.module';
import { ScienceModule } from './science/science.module';
import { CommonService } from './common.service';
import { StudentModule } from './student/student.module';
import { TeacherModule } from './teacher/teacher.module';

@Module({
  imports: [
    PrismaModule,
    HashModule,
    CollegeModule,
    DepartmentModule,
    ClassesModule,
    ScienceModule,
    StudentModule,
    TeacherModule
  ],
  providers: [CommonResolver, CommonService]
})
export class CommonModule { }
